<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>Login</title>
</head>
<body>

<s:form action="login" namespace="/"  method="check">
  用户名：<s:textfield name="userName"  />
  密码：<s:password name="pwd"/>
  返回信息:<s:property value="message"/>

  <s:submit name="登录"  />

    <s:iterator id="u" value="amAccount">
        <s:property value='#u.getAccountNickname()'/>
        <s:property value="#u.getAccountAc()"/>
    </s:iterator>

</s:form>


</body>
</html>
 